package com.hospital.common.core.constants;

public enum InsuranceDeptEnum {
    SUCCESS_HOS("00", "成功"),
    FILED_REQ_BILL_SERVER("99", "未知错误（状态未知）"),
    HOS_ERROR("01", "明确失败"),
    HOS_ERROR_PARAM("02", "参数校验失败"),

    DEPOSIT_TYPE_ALI("ALI", "支付宝"),
    DEPOSIT_TYPE_BANK("BANK", "银行卡"),
    DEPOSIT_TYPE_WX("WX", "微信"),
    DEPOSIT_TYPE_UP("UP", "云闪付"),

    CHANNEL_TYPE_LOC_APP("LOC_APP", "地方APP"),
    CHANNEL_TYPE_NAT_APP("NAT_APP", "国家APP"),
    CHANNEL_TYPE_ALI("ALI", "支付宝"),
    CHANNEL_TYPE_BANK("BANK", "银行卡"),
    CHANNEL_TYPE_WX("WX", "微信"),
    CHANNEL_TYPE_UP("UP", "云闪付"),
    CHANNEL_TYPE_ORG_APP("ORG_APP", "机构APP"),

    ACCOUNT_TYPE_OUTP("01", "门诊"),
    ACCOUNT_TYPE_INP("02", "住院"),
    ACCOUNT_TYPE_PEIS("03", "体检"),
    ACCOUNT_TYPE_UN("04", "未知"),


    RESULT_SUCCCESS("succ", "成功"),
    RESULT_EXCEPTION("exp", "异常，待核验"),
    RESULT_FAIL("fail", "明确失败"),
    RESULT_CLOSED("closed", "关闭"),


    CODE_TYPE_QR("qr", "二维码"),
    CODE_TYPE_BAR("bar", "条码"),

    METRT_CERT_TYPE_DZ("01", "电子凭证"),
    METRT_CERT_TYPE_SF("02", "身份证"),
    METRT_CERT_TYPE_SB("03", "社保卡"),
    METRT_CERT_TYPE_JK("04", "健康卡"),
    METRT_CERT_TYPE_INPNO("05", "住院号"),
    METRT_CERT_TYPE_TEMP("06", "临时卡"),
    METRT_CERT_TYPE_PID("10", "机构病人ID"),

    PATIENT_TYPE_OWN("00", "自费"),
    PATIENT_TYPE_INSUR("01", "医保"),

    APP_TYPE_OUTP("01", "门诊"),
    APP_TYPE_INP("02", "住院"),
    APP_TYPE_REGISTER("03", "挂号"),
    APP_TYPE_ONLINE("04", "线上"),

    MERCHANT_WAIT_PAY("MERCHANT_WAIT_PAY", "待支付"),
    MERCHANT_PAID("MERCHANT_PAID", "已支付"),
    MERCHANT_PART_REFUNDED("MERCHANT_PART_REFUNDED", "已部分退款"),
    MERCHANT_REFUNDED("MERCHANT_REFUNDED", "已全额退款"),
    MERCHANT_CLOSED("MERCHANT_CLOSED", "已取消"),

    HOSPITAL_APPOINTMENT("HOSPITAL_APPOINTMENT", "挂号单"),
    HOSPITAL_CHECK("HOSPITAL_CHECK", "检查单"),
    HOSPITAL_MEDICINE("HOSPITAL_MEDICINE", "医药单"),
    HOSPITAL_PAYMENT("HOSPITAL_PAYMENT", "支付单"),


    PSN_ID("01", "居民身份证（户口簿）"),
    PSN_MILIFA("10", "军烈属证明"),
    PSN_MILI("02", "中国人民解放军军官证"),
    PSN_FORW("11", "外国人就业证"),
    PSN_MILIW("03", "中国人民武装警察警官证"),
    PSN_FORS("12", "外国专家证"),
    PSN_CHINAX("04", "香港特区护照/港澳居民来往内地通行证"),
    PSN_FORA("13", "外国人常驻记者证"),
    PSN_CHINAA("05", "澳门特区护照/港澳居民来往内地通行证"),
    PSN_CHINATW("14", "台港澳人员就业证"),
    PSN_CHINATP("06", "台湾居民来往大陆通行证"),
    PSN_CHINAB("15", "回国（来华）定居专家证"),
    PSN_FORZ("07", "外国人永久居留证"),
    PSN_SOCIAL_CARD("90", "社会保障卡"),
    PSN_ALIEN_PASSPORT("08", "外国人护照"),
    PSN_ID_OTHER("99", "其他身份证件"),
    PSN_DISABILITY_CERT("09", "残疾人证"),

    GEND_UNKNOW("0", "未知的性别"),
    GEND_WOMAN("2", "女"),
    GEND_MAN("1", "男"),
    GEND_UNDES("9", "未说明性别"),
    ;
    private String code;
    private String message;

    InsuranceDeptEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    InsuranceDeptEnum(String code) {
    }

    InsuranceDeptEnum() {
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

}
